{* Smarty *}

{if isset($smarty.session.email)}
{t}Welcome{/t} <b>{$smarty.session.email}</b><br/><br/>
{if $smarty.session.login_count == 0}
	{t}This is the first time you login{/t}
{else}
<table>
	<tr>
		<th colspan="2">{t}Last time you signed in details{/t}</th>
	</tr>
	<tr>
		<td class="left">{t}IP{/t}</td><td class="left">{$smarty.session.login_ip}</td>
	</tr>
	<tr>
		<td class="left">{t}Host{/t}</td><td class="left">{$smarty.session.login_host}</td>
	</tr>
	<tr>
		<td class="left">{t}Date{/t}</td><td class="left">{$smarty.session.login_date}</td>
	</tr>
	<tr>
		<td class="left">{t}login cout{/t}</td><td class="left">{$smarty.session.login_count}</td>
	</tr>
</table>
{/if}
{/if}